package com.zz.yt.test.click;


import android.os.Bundle;
import android.view.View;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.zz.yt.lib.ui.CustomTitleBar;
import com.zz.yt.lib.ui.base.ui.LatteTitleDelegate;
import com.zz.yt.lib.ui.listener.OnClickObjectListener;
import com.zz.yt.test.R;

/**
 * 蓝牙模块
 *
 * @author qf
 * @version 1.09
 */
public class WeightDelegate extends LatteTitleDelegate {

    @NonNull
    public static WeightDelegate create() {
        final Bundle args = new Bundle();
        final WeightDelegate fragment = new WeightDelegate();
        fragment.setArguments(args);
        return fragment;
    }


    @Override
    protected void setCustomTitleBar(@NonNull CustomTitleBar titleBar) {
        titleBar.setText("蓝牙模块");
    }

    @Override
    protected Object setLayout() {
        return R.layout.activity_main;
    }

    @Override
    public void onBindView(@Nullable Bundle savedInstanceState, @NonNull View rootView) {
        super.onBindView(savedInstanceState, rootView);
        starClickWithCheck(new OnClickObjectListener(){

            @Override
            public void onClick(Object index) {

            }
        });
    }
}
